/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.dao;

import java.util.List;

/**
 * The Interface CommonUtilDao.
 */
public interface CommonUtilDao{

	/**
	 * Removes the role.
	 * 
	 * @param roles
	 *            the roles
	 * @param userId
	 *            the user id
	 */
	public void removeRole(List<Long> roles, Long userId);

	/**
	 * Save admin right.
	 * 
	 * @param userId
	 *            the user id
	 */
	public void saveAdminRight(Long userId);

	/**
	 * Save user right.
	 * 
	 * @param userId
	 *            the user id
	 */
	public void saveUserRight(Long userId);

	/**
	 * Removes the admin right.
	 * 
	 * @param userId
	 *            the user id
	 */
	public void removeAdminRight(Long userId);

	/**
	 * Removes the user right.
	 * 
	 * @param userId
	 *            the user id
	 */
	public void removeUserRight(Long userId);

}
